commit | 58c6d404f6b1cb6d85b478eb54df5f9401adebce | [log] [tgz] |
---|---|---|
author | Mohamed Heikal <mheikal@chromium.org> | Wed Oct 30 22:11:40 2019 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Oct 30 22:11:40 2019 |
tree | 64fa999c060b9e75759f319e071d34c02cf08266 | |
parent | 3ce7d39aef0925da347df9496f16bb5ef20a923a [diff] | |
parent | a343f54ebeba66ba3bd4f9d649f477c15909fed2 [diff] |
Merge "Remove unneeded dependancy on buildbucket gerrit plugin"
The plugin queries the android-binary-size trybot for the current patchset on Gerrit, and gets the binary_size_plugin
property. This property contains the metadata about the binary size metrics affected by the patchset in question. It then shows an inline table with the metric deltas + links to SuperSize output.
This plugin uses no config files since it only works with the android-binary-size trybot which only runs on the chromium repo CQ making this not compatible with any other host. If you want this to work on a different host, talk to the binary-size@chromium.org team.
git clone --recursive https://gerrit.googlesource.com/gerrit cd gerrit/plugins git clone https://chromium.googlesource.com/infra/gerrit-plugins/chromium-binary-size cd chromium-binary-size
Use the script run-with-prod-data.sh
(based on polygerrit-ui/run-server.sh
). You may change some paths by setting environment variables, for example:
GERRIT_DIR="$HOME/gerrit" ./run-with-prod-data.sh
# Install dependencies. npm install -g bower npm install -g web-component-tester bower install wct